package com.haihui.platform.entity;

/*
 * 角色
 */
public class Role {
	
	private long roleId;//角色id
	
	private String roleName;//角色名称
	
	private String role;//角色code
	
	private String description;//角色描述
	
	private Integer length;//一页多少条
	
	private Integer pageNum;//第几页
	
	private Integer start;
	
	private Integer total;//总条数
	
	public Role(){
		super();
	}

	public Role(long roleId, String roleName, String role, String description) {
		super();
		this.roleId = roleId;
		this.roleName = roleName;
		this.role = role;
		this.description = description;
	}

	public long getRoleId() {
		return roleId;
	}

	public void setRoleId(long roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}


	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}
	
}
